package com.stm.bi.dto.cmd;

import com.stm.framework.annotation.ReqParam;
import java.lang.Long;
import java.lang.String;
import java.lang.Integer;
import java.util.List;

/**
* 报表模型水准-创建命令
*
* @author zhouyuanpeng
* @date 2025-05-22
*/
public class ReportStandardAdd {

    @ReqParam(label = "水准ID")
    private Long id;

    @ReqParam(label = "报表模型ID")
    private Long modelId;

    @ReqParam(label = "水准名称", required = true, maxLength = 10)
    private String name;

    @ReqParam(label = "排序")
    private Integer idx;

    @ReqParam(label = "状态")
    private Integer status;

    @ReqParam(label = "预览")
    private Boolean preview = false;

    @ReqParam(label = "科目列表", required = true)
    private List<ReportSubjectAdd> subjects;

    public Boolean getPreview() {
        return preview;
    }

    public ReportStandardAdd setPreview(Boolean preview) {
        this.preview = preview;
        return this;
    }

    public Long getId() {
        return id;
    }

    public ReportStandardAdd setId(Long id) {
        this.id = id;
        return this;
    }

    public List<ReportSubjectAdd> getSubjects() {
        return subjects;
    }

    public ReportStandardAdd setSubjects(List<ReportSubjectAdd> subjects) {
        this.subjects = subjects;
        return this;
    }

    public Long getModelId(){
        return this.modelId;
    }

    public ReportStandardAdd setModelId(Long modelId){
        this.modelId = modelId;
        return this;
    }

    public String getName(){
        return this.name;
    }

    public ReportStandardAdd setName(String name){
        this.name = name;
        return this;
    }

    public Integer getIdx(){
        return this.idx;
    }

    public ReportStandardAdd setIdx(Integer idx){
        this.idx = idx;
        return this;
    }

    public Integer getStatus(){
        return this.status;
    }

    public ReportStandardAdd setStatus(Integer status){
        this.status = status;
        return this;
    }

}
